package com.googlecode.groovy_toy_orm

/**
 * @author: DavydovMD
 * Date: 18.04.13
 * Time: 14:23
 */
class FieldReference {
    final String field = ""
    final Mapper mapper


    FieldReference(Mapper mapper, String fieldName) {
        this.field = fieldName
        this.mapper = mapper
    }


    String getFqn() {
        mapper.getFqSourceName(field)
    }
}
